# Author:Yiye
# -*- codeing = utf-8 -*-
# @Time :2021/11/29 9:01
# @Author:李卓
# @Site : 
# @File : 37.菜单.py
# @Software : PyCharm
import PySimpleGUI as sg
menu_def = [['File', ['Open', 'Save', 'Exit', ]],
            ['Edit', ['Paste', ['Special', 'Normal', ], 'Undo'], ],
            ['Help', 'About...'], ]

layout = [[sg.Menu(menu_def)]]
window = sg.Window("hello",layout)
event,values = window.read()
print(values)
